home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Freeware 2002 November
/
SGI Freeware 2002 November - Disc 1.iso
/
dist
/
fw_curl.idb
/
usr
/
freeware
/
catman
/
p_man
/
cat3
/
curl_easy_duphandle.Z
/
curl_easy_duphandle
Wrap
Text File
|
2002-07-08
|
2KB
|
49 lines
curl_easy_duphandle(3) libcurl Manual curl_easy_duphandle(3)
NNAAMMEE
curl_easy_duphandle - Clone a libcurl session handle
SSYYNNOOPPSSIISS
##iinncclluuddee <<ccuurrll//ccuurrll..hh>>
CCUURRLL **ccuurrll__eeaassyy__dduupphhaannddllee((CCUURRLL **_h_a_n_d_l_e));;
DDEESSCCRRIIPPTTIIOONN
This function will return a new curl handle, a duplicate,
using all the options previously set in the input curl
_h_a_n_d_l_e. Both handles can subsequently be used indepen
dently and they must both be freed with
_c_u_r_l___e_a_s_y___c_l_e_a_n_u_p_(_).
All strings that the input handle has been told to point
to (as opposed to copy) with previous calls to
_c_u_r_l___e_a_s_y___s_e_t_o_p_t using char * inputs, will be pointed to
by the new handle as well. You must therefore make sure to
keep the data around until both handles have been cleaned
up.
The new handle will nnoott inherit any state information, no
connections, no SSL sessions and no cookies.
NNoottee that even in multi-threaded programs, this function
must be called in a synchronous way, the input handle may
not be in use when cloned.
This function was added in libcurl 7.9.
RREETTUURRNN VVAALLUUEE
If this function returns NULL, something went wrong and no
valid handle was returned.
SSEEEE AALLSSOO
ccuurrll__eeaassyy__iinniitt(3),ccuurrll__eeaassyy__cclleeaannuupp(3),ccuurrll__gglloobbaall__iinniitt(3)
BBUUGGSS
Surely there are some, you tell me!
libcurl 7.9 18 September 2001 curl_easy_duphandle(3)